#include "CostumUtils.h"
#include <vector>
#include <stdlib.h>
#include <time.h>
#include <iostream>

using std::vector;

vector<int> GenRandomList(int size, int cRange);

int main()
{
	//vector<int> t = GenRandomList(30000, 65536);
	//vector<int> t{ 4, 1, 3, 2, 16, 9, 10, 14, 8, 7 };
	//int a = 2;
	//reset(a);

	//clock_t start = clock();
	//heapSort(t);
	//clock_t end = clock();
	//printf("%f\n", (double)(end - start) / CLOCKS_PER_SEC);

	//vector<int> r = countingSort(t, 16);
	//for (auto item : r) printf("%d\n", item);

	for (int i = 100; i < 110; i++) printf("%f\n", randNumGenerator(i));

	CPAUSE;
	return 0;
}

vector<int> GenRandomList(int size, int cRange)
{
	vector<int> list;
	list.reserve(size);
	srand((unsigned)time(NULL));
	for (auto i = 0; i < size; i++)
	{
		list.push_back(rand() % cRange);
	}
	return list;
}